TimeMinusDay


This function subtracts one day from given parameters with respect to the date and then assigns the date value to each variable. The intercalation is also calculated.

 

void TimeMinusDay(int year, int mon, int day);

 

Parameters

year               : Year (tag or variable)

mon              : Month (tag or variable)

day : Day (tag or variable)

 

Return Value

There is not a return value.

 

Example1 : If it used variables in a script)

year = 2000;

mon  = 1;

day = 14;

@TimeMinusDay(year, mon, day);

Description : The date is the January 13, 2000. In other words, year = 2000, mon = 1, day = 13

 

Example2 : If it used memory tags in a script)

$year = 2000;

$mon = 1;

$day = 1;

@TimeMinusDay($year, $mon, $day);

Description : Tags can be used immediately as parameters. $year = 1999, $mon = 12, $day = 31 (The intercalation is also calculated.)

 

Related Helps)

@TimeFromString()

@TimeGetWaiting()

@TimeMinusDay()

@TimeMinusHour()

@TimeMinusMin()

@TimeMinusMon()

@TimeMinusSec()

@TimePlusDay()

@TimePlusHour()

@TimePlusMin()

@TimePlusMon()

@TimePlusSec()

@TimeSetLocalTime()

@TimeSolarToLunar()